package top.codedance.iotp.iot.sdk;

import org.java_websocket.handshake.ServerHandshake;

public interface WsCallbacker {
    void onOpen(WsContextAdapter context, ServerHandshake shake);
    void onMessage(WsContextAdapter context, String body);
    void onClose(WsContextAdapter context, int var1, String var2, boolean var3);
    void onError(WsContextAdapter context, Exception e);
}
